const router = require('koa-router')(),
    projectController = require('../controller/project'),
    loginCheck = require('../middlewares/logincheck');
router.prefix('/project');
router.post('/get_project', projectController.getProjectC);
router.post('/create_project',loginCheck, projectController.createProjectC);
router.post('/update_project',loginCheck, projectController.updateProjectC);
router.post('/destroy_project',loginCheck, projectController.destroyProjectC);
router.post('/change_status_project',loginCheck, projectController.changeStatusProjectC);
router.post('/get_project_up', projectController.getProjectUp);
module.exports = router;   